<?php echo '';exit;?>
<!--{if $_G['uid']}-->
<div class="u_info">
<span class="avatar"><!--{avatar($_G[uid],small)}--></span>
   
     <span>{$_G[member][username]}</span> 
     <div class="mymenu"> 
		<ul> 
			<li class="loginli"><!--{hook/global_usernav_extra1}--></li>

			<li><a href="home.php?mod=space&uid=$_G[uid]&do=thread&view=me&from=space">我的帖子</a></li>
			<li><!--{hook/global_usernav_extra4}--></li>
			<li><a href="home.php?mod=space&do=favorite&view=me">我的收藏</a></li>
			<li><a href="home.php?mod=spacecp">个人设置</a></li>
			<li><a href="home.php?mod=space&do=notice">{lang remind}<!--{if $_G[member][newprompt]}--><em id="notice_tip_count">($_G[member][newprompt])</em><!--{/if}--></a></li>
			<li><a href="home.php?mod=space&do=pm">{lang pm_center}{if $_G[member][newpm]}<em id="reply_tip_count">(new)</em>{/if}</a></li>
			<!--{if check_diy_perm($topic)}-->
			<li><a href="javascript:openDiy();" >DIY</a></li>
			<!--{/if}-->
			<!--{if ($_G['group']['allowmanagearticle'] || $_G['group']['allowpostarticle'] || $_G['group']['allowdiy'] || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 6) || getstatus($_G['member']['allowadmincp'], 2) || getstatus($_G['member']['allowadmincp'], 3))}-->
			<li><a href="portal.php?mod=portalcp"><!--{if $_G['setting']['portalstatus'] }-->{lang portal_manage}<!--{else}-->{lang portal_block_manage}<!--{/if}--></a></li>
			<!--{/if}-->
			<!--{if $_G['uid'] && $_G['group']['radminid'] > 1}-->
			<li><a href="forum.php?mod=modcp&fid=$_G[fid]" target="_blank">{lang forum_manager}</a></li>
			<!--{/if}-->
			<!--{if $_G['uid'] && $_G['adminid'] == 1 && $_G['setting']['cloud_status']}-->
			<li><a href="admin.php?frames=yes&action=cloud&operation=applist" target="_blank">{lang cloudcp}</a></li>
			<!--{/if}-->
			<!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)}-->
			<li><a href="admin.php" target="_blank">{lang admincp}</a></li>
			<!--{/if}-->
			<li><!--{hook/global_usernav_extra2}--></li>
			<li><!--{hook/global_usernav_extra3}--></li>
			<li><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">退出</a></li>
		</ul> 
     </div> 
    </div>
	<div class="loginm"> 
		 <div class="klp_top"> 
		  <span class="avatar"><!--{avatar($_G[uid],small)}--></span> <h2>{$_G[member][username]}</h2><p>{lang usergroup}: $_G[group][grouptitle]</p> </div> 
		 <div class="klp_loginmn"> 
			<ul> 
				<li><a href="home.php?mod=space&uid=$_G[uid]&do=thread&view=me&from=space">我的帖子</a></li>
				<li><!--{hook/global_usernav_extra4}--></li>
				<li><a href="home.php?mod=space&do=favorite&view=me">我的收藏</a></li>
				<li><a href="home.php?mod=spacecp">个人设置</a></li>
				<li><!--{hook/global_usernav_extra2}--></li>
				<li><!--{hook/global_usernav_extra3}--></li>
				<li> <a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">退出</a></li> 
			</ul> 
		 </div> 

	</div>
	<!--{elseif !$_G[connectguest]}-->
	  <div class="loginm"> 
	   <div class="mobile_dlu"> 
		<img src="{$_G['style']['styleimgdir']}/avatar.png" class="avatar" height="128" width="128" /> 
		<a href="member.php?mod=logging&action=login" class="mobile_dlu btn klp_login">登录</a> 
		<a href="member.php?mod={$_G[setting][regname]}" class="klp_reg btn">新用户注册</a> 
	   </div> 
	  </div>
  
	<div class="loginnormal">
		<a href="member.php?mod={$_G[setting][regname]}" class="btn">注册</a>
		<a href="member.php?mod=logging&action=login" class="btn klp_login" onClick="showWindow('login', this.href)" >登录</a>
	</div>

<!--{else}-->
<!--{hook/global_usernav_extra1}-->
<!--{/if}-->
	
